import 'package:FiduMart/generated/json/base/json_field.dart';
import 'package:FiduMart/generated/json/mining_stone_list_entity.g.dart';
import 'dart:convert';
export 'package:FiduMart/generated/json/mining_stone_list_entity.g.dart';

@JsonSerializable()
class MiningStoneListEntity {
	List<MiningStoneListList>? list;
	int? page;
	int? pageSize;
	int? total;

	MiningStoneListEntity();

	factory MiningStoneListEntity.fromJson(Map<String, dynamic> json) => $MiningStoneListEntityFromJson(json);

	Map<String, dynamic> toJson() => $MiningStoneListEntityToJson(this);

	@override
	String toString() {
		return jsonEncode(this);
	}
}

@JsonSerializable()
class MiningStoneListList {
	String? id;
	String? userId;
	int? outIn;
	int? recordType;
	int? stoneNum;
	String? inId;
	String? drnNum;
	int? createdAt;

	MiningStoneListList();

	factory MiningStoneListList.fromJson(Map<String, dynamic> json) => $MiningStoneListListFromJson(json);

	Map<String, dynamic> toJson() => $MiningStoneListListToJson(this);

	@override
	String toString() {
		return jsonEncode(this);
	}
}